<?php

namespace IDock\Insurance\CHAC\Request;

use IDock\Http\RequestFormat;
use IDock\Insurance\CHAC\Response\BVehicleModelResponse;
use IDock\Visitor\VehicleModelVisitor;

class BVehicleModelRequest extends AllCHACRequest
{
    protected $route = 'new/vhl/carModelQuery';

    protected $response = BVehicleModelResponse::class;

    protected $urlTip = '车型查询';

    protected $format = RequestFormat::FORM;

    /*** @var  VehicleModelVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        return [
            'brandName' => $this->visitor->vehicleModel,
            'nowPage' => '1',
            'pageSize' => '50',
            'encode' => '00000'
        ];
    }
}
